function getAllScripts(){
    var u
    $.getJSON("scriptloader.php", function(scripts){
       $(scripts).each(function(i, script){
           $.getScript(script,function(){
               console.log("i="+i.toString()+" Script="+script);
           });
       });
    });
}
getAllScripts();